package 注解学习.Demo;


public class Calculator {

    @Check
    public void add() {
        System.out.println("1+0=" + (1 + 0));
    }

    @Check
    public void jian() {
        System.out.println("1-0=" + (1 - 0));
    }

    @Check
    public void cheng() {
        System.out.println("1*0=" + (1 * 0));
    }

    @Check
    public void chu() {
        System.out.println("1/0=" + (1 / 0));
    }
}
